<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>配置信息列表</title>
<link href="__PUBLIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/admin/js/jquery.js"></script>
</head>

<body>
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="{:U('index/welcome')}">首页</a></li>
			<li><a href="{:U('setting/index')}">配置信息列表</a></li>
		</ul>
    </div>
    
    <div class="formbody">
		<ul class="toolbar">
			<li onclick="location.href = '{:U('setting/addsetting')}'"><span><img src="__PUBLIC__/admin/images/t01.png" /></span>添加配置信息</li> 
		</ul> 
		<form name="seachform" id="seachform" action="{:U('setting/index')}" method="post">
			<ul class="seachform">
				<li><label>综合查询</label><input name="info[keyword]" id="keyword" value="{$keyword}" type="text" class="scinput" /></li>		
				<li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
			</ul>
		</form>
		
		<table class="tablelist">
			<thead>
				<tr>
					<th><input name="" type="checkbox" value="" /></th>
					<th>编号</th>
					<th>配置KEY</th>
					<th>配置说明</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<volist name="listinfo" id="setting">
				<tr>
					<td><input name="" type="checkbox" value="" /></td>
					<td>{$setting.set_id}</td>
					<td>{$setting.set_key}</td>
					<td>{$setting.set_remarks}</td>
					<td>
						<a href="{:U('setting/editsetting',array('set_id'=>$setting['set_id']))}" class="tablelink">编辑</a>
						<a href="{:U('setting/delsetting',array('set_id'=>$setting['set_id']))}" onclick="{if(confirm('确认删除?')){return true;}return false;}" class="tablelink">删除</a>
					</td>
				</tr> 
				</volist>
			</tbody>
		</table>

		{$pageshow}

    </div>
<script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
</script>
</body>

</html>
